
//--------------------------------------------------------------------
//     此代码由T4模板自动生成
//	   生成时间 2021-10-24 11:00:33 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using SqlSugar; 
namespace TianYu.CMS.Domain.DomainModel
{
	 ///<summary>
	 ///广告位
	 ///</summary>
	 [SugarTable("adv_position")]	
	 public class AdvPosition 
	 {
		/// <summary>
		/// Id
		/// </summary>
		[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
		public long Id { get; set; }

		/// <summary>
		/// 广告类型（1＝单图片；2＝多图片）
		/// </summary>
		[SugarColumn(ColumnName = "adv_type" , IsNullable = false )]
		public int? AdvType { get; set; }
	  
		/// <summary>
        /// 广告位编码
        /// </summary>
		[SugarColumn(ColumnName = "code"  )]
		public string Code { get; set; }
	  
		/// <summary>
        /// 长(px)
        /// </summary>
		[SugarColumn(ColumnName = "height" , IsNullable = false )]
		public int? Height { get; set; } 
	  
		/// <summary>
        /// 广告位名称
        /// </summary>
		[SugarColumn(ColumnName = "name"  )]
		public string Name { get; set; }
	  
		/// <summary>
        /// 宽(px)
        /// </summary>
		[SugarColumn(ColumnName = "width" , IsNullable = false )]
		public int? Width { get; set; }
	  
	 }
}	 
